package org.metasketch.demo.simulator;

import groovy.lang.GroovyShell;
import javafx.application.Application;
import javafx.stage.Stage;

import org.metasketch.demo.editor.DEMOEditor;
import org.metasketch.demo.perspectives.DEMOPerspective;
import org.metasketch.editor.perspectives.PerspectiveManager;
import org.metasketch.ham.perspectives.HAMPerspective;
import org.metasketch.simulator.perspective.SimulationPerspective;
import org.metasketch.test.perspectives.AnalysisPerspective;
//import org.metasketch.test.perspectives.HAMPerspective;

public class Main extends Application {

	@Override
	public void start(Stage mainStage) {
	}

	public static void initAndShowGUI() {
	}

	/**
	 * @param args
	 * @throws Exception
	 */
	public static void main(String[] args) throws Exception {
		
//		GroovyShell shell = new GroovyShell();

		PerspectiveManager.register(new HAMPerspective());
		PerspectiveManager.register(new AnalysisPerspective());
		PerspectiveManager.setDefault(new DEMOPerspective());
		PerspectiveManager.register(new SimulationPerspective());

		Application.launch(DEMOEditor.class, null);

	}

}
